import React, { Component } from 'react'
import RouterView from '../router/RouterView'
import RouterLink from '../router/RouterLink'

export class Home extends Component {
  render() {
      const {routerConfig}=this.props
    return (
      <div>
          <div className="header">
              {/* tou */}
          </div>
          <div className="main">
              <div className="left">
                  左
                  <RouterLink></RouterLink>
              </div>
              <div className="right">
                <RouterView routerConfig={routerConfig}></RouterView>
              </div>
          </div>
          <div className="footer"></div>
      </div>
    )
  }
}

export default Home